home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / QuakeTools / src / libqbuild / Makefile.in < prev    next >
Encoding:
Makefile  |  1998-06-12  |  2.3 KB  |  98 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # MakeFile for QuakeTools
  3.  
  4. QBLIB = @top_srcdir@/lib/libqbuild.a
  5. QBLIBP = @top_srcdir@/lib/libqbuild_p.a
  6. QBLIBV = @top_srcdir@/lib/libqbuild_v.a
  7. QBLIBB = @top_srcdir@/lib/libqbuild_b.a
  8.  
  9. #
  10. # buildings
  11. #
  12. default: $(QBLIB)                        # build the default useable library
  13. profile: $(QBLIBP)                        # build the library with later profiling capabilities
  14. coverage: $(QBLIBV)                        # build the library to analyse code-/execution-streams
  15. branch: $(QBLIBB)                        # rebuild the library after branches have been analysed
  16.     -mv -f $(QBLIBB) $(QBLIB)
  17. all: lib profile coverage                    # build the complete package
  18.  
  19. #
  20. # cleanups
  21. clean:                                # clean the default library
  22.     -rm -f $(QBLIB) $(QBOBJ)
  23. cleanprofile:                            # clean the profile library
  24.     -rm -f $(QBLIBP) $(QBOBJP)
  25. cleancoverage:                            # clean the analyse library
  26.     -rm -f $(QBLIBV) $(QBOBJV) $(QBOBJBB)
  27. cleanbranch:                            # clean the post-analysed branch-optimized library
  28.     -rm -f $(QBLIB) $(QBOBJ)
  29. cleanall: clean cleancoverage cleanprofile cleanbranch        # clean everything
  30.  
  31. #
  32. # dists
  33. #
  34. distclean: cleanall                        # clean even the configured files
  35.     -rm -f Makefile
  36.  
  37. #
  38. # installations
  39. #  it doesnt make sence to install the analyse-library
  40. #
  41. install: default                        # install the default library
  42.     @INSTALL@ $(QBLIB) @libdir@
  43. installprofile: profile                        # install the profile library
  44.     @INSTALL@ $(QBLIBP) @libdir@
  45. installall: install installprofile                # install the everything library
  46.  
  47. #
  48. # debugging/analysing
  49. #
  50. analyse:
  51.     for i in $(QBSRC); do \
  52.       gcov -f -l -b $$i >$$i.branch; \
  53.     done
  54. analyseclean:
  55.     -rm -f $(QBOBJDA) $(QBOBJBR) *.gcov
  56.  
  57. #
  58. # rules
  59. #
  60. include    @top_srcdir@/src/Makefile-rules
  61.  
  62. #
  63. # sources/objects/libraries
  64. #
  65. QBSRC =    brush.c csg4.c merge.c light.c nodraw.c outside.c \
  66.     portals.c qbsp.c qcc.c region.c solidbsp.c surfaces.c \
  67.     tjunc.c writebsp.c rad.c vis.c winding.c
  68.  
  69. QBOBJ = $(QBSRC:.c=.o)
  70. QBOBJP = $(QBSRC:.c=.p)
  71. QBOBJV = $(QBSRC:.c=.v)
  72. QBOBJB = $(QBSRC:.c=.b)
  73. QBOBJDA = $(QBSRC:.c=.da)
  74. QBOBJBR = $(QBSRC:.c=.branch)
  75. QBOBJBB = $(QBSRC:.c=.b*)
  76.  
  77. @top_srcdir@/lib/libqbuild.a: $(QBOBJ)
  78.     $(AR) rcv $@ $?
  79.     $(RAN) $@
  80. @top_srcdir@/lib/libqbuild_p.a: $(QBOBJP)
  81.     $(AR) rcv $@ $?
  82.     $(RAN) $@
  83. @top_srcdir@/lib/libqbuild_v.a: $(QBOBJV)
  84.     $(AR) rcv $@ $?
  85.     $(RAN) $@
  86. @top_srcdir@/lib/libqbuild_b.a: $(QBOBJB)
  87.     $(AR) rcv $@ $?
  88.     $(RAN) $@
  89.  
  90. #
  91. # dependencies
  92. #
  93. depend:
  94.     @MKD@ -m $(INCL) $(QBSRC)
  95.  
  96. # DO NOT DELETE
  97.